package cn.xinfei.xdecision.common.model.decisionflow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Created by maying on 2023/03/07.
 **/
@Data
public class NodeRenameReqVo {

	@ApiModelProperty(value = "版本id", required = true, example = "1024")
	@NotNull(message = "版本id不能为空")
	private Long versionId;

	@ApiModelProperty(value = "节点编码", required = true, example = "jcl_001_1")
	@NotEmpty(message = "节点编码不能为空")
	private String nodeCode;


	@ApiModelProperty(value = "节点名称", example = "规则集")
	@NotEmpty(message = "节点名称不能为空")
	private String nodeName;
}
